package com.liuqi.loggers.core;

/**
 * @author liuqi
 * @date 2024/11/5 16:31
 **/
public abstract class LifeCycleBase implements LifeCycle {

    protected boolean started;

    @Override
    public void start() {
        started = true;
    }

    @Override
    public void stop() {
        started = false;
    }

    @Override
    public boolean isStarted() {
        return started;
    }

}
